/**
* gtk_text_child_anchor_new:
*
- * Creates a new #GtkTextChildAnchor. Usually you would then insert
- * it into a #GtkTextBuffer with gtk_text_buffer_insert_child_anchor().
- * To perform the creation and insertion in one step, use the
- * convenience function gtk_text_buffer_create_child_anchor().
+ * Creates a new `GtkTextChildAnchor`.
+ *
+ * Usually you would then insert it into a `GtkTextBuffer` with
+ * [method@Gtk.TextBuffer.insert_child_anchor]. To perform the
+ * creation and insertion in one step, use the convenience
+ * function [method@Gtk.TextBuffer.create_child_anchor].
*
- * Returns: a new #GtkTextChildAnchor
+ * Returns: a new `GtkTextChildAnchor`
**/
GtkTextChildAnchor*
gtk_text_child_anchor_new (void)
/**
* gtk_text_child_anchor_get_widgets:
- * @anchor: a #GtkTextChildAnchor
+ * @anchor: a `GtkTextChildAnchor`
* @out_len: (out): return location for the length of the array
*
* Gets a list of all widgets anchored at this child anchor.
*
* Returns: (array length=out_len) (transfer container): an
* array of widgets anchored at @anchor
- **/
+ */
GtkWidget **
gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor,
guint *out_len)
/**
* gtk_text_child_anchor_get_deleted:
- * @anchor: a #GtkTextChildAnchor
- *
+ * @anchor: a `GtkTextChildAnchor`
+ *
* Determines whether a child anchor has been deleted from
- * the buffer. Keep in mind that the child anchor will be
- * unreferenced when removed from the buffer, so you need to
- * hold your own reference (with g_object_ref()) if you plan
- * to use this function — otherwise all deleted child anchors
- * will also be finalized.
- *
+ * the buffer.
+ *
+ * Keep in mind that the child anchor will be unreferenced
+ * when removed from the buffer, so you need to hold your own
+ * reference (with g_object_ref()) if you plan to use this
+ * function — otherwise all deleted child anchors will also
+ * be finalized.
+ *
* Returns: %TRUE if the child anchor has been deleted from its buffer
- **/
+ */
gboolean
gtk_text_child_anchor_get_deleted (GtkTextChildAnchor *anchor)
{
/**
* GtkTextChildAnchor:
*
- * A #GtkTextChildAnchor is a spot in the buffer where child widgets can
- * be “anchored” (inserted inline, as if they were characters). The anchor
- * can have multiple widgets anchored, to allow for multiple views.
+ * A `GtkTextChildAnchor` is a spot in a `GtkTextBuffer` where child widgets can
+ * be “anchored”.
+ *
+ * The anchor can have multiple widgets anchored, to allow for multiple views.
*/
typedef struct _GtkTextChildAnchor GtkTextChildAnchor;
typedef struct _GtkTextChildAnchorClass GtkTextChildAnchorClass;